<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Mews\Captcha\Facades\Captcha;

class CaptchaController extends Controller {

    public function index(){
        $captcha = Captcha::create('default', true);
        return $this->returnJson(0,$captcha);
    }
}
